jQuery(function($)
{
	$('.tag-opcion-img').cycle();
		$('#slide').cycle({ 
    	fx:      'turnDown', 
    	delay:   -4000 
	});
});
 $(document).ready( function(){	
		// buttons for next and previous item						 
		var buttons = { previous:$('#jslidernews .button-previous') ,
						next:$('#jslidernews .button-next') };			
		 $('#jslidernews').lofJSidernews( { interval : 4000,
											direction		: 'opacitys',	
											easing			: 'easeInOutExpo',
											duration		: 1200,
											auto		 	: true,
											maxItemDisplay  : 4,
											navPosition     : 'horizontal', // horizontal
											navigatorHeight : 42,
											navigatorWidth  : 80,
											mainWidth		: 465,
											buttons			: buttons } );
											

			$.gritter.add({
				// (string | mandatory) the heading of the notification
				title: 'Se vende Terreno...',
				// (string | mandatory) the text inside the notification
				text: 'En: Vía de evitamiento al costado del aeropuerto, llamar al siguiente número: #345690/526614',
				// (string | optional) the image to display on the left
				image: 'images/index/terre1.jpg',
				// (bool | optional) if you want it to fade out on its own or just sit there
				sticky: true,
				// (int | optional) the time you want it to be alive for before fading out
				time: '',
				// (string | optional) the class name you want to apply to that specific message
				class_name: 'my-sticky-class'
			});
			$.gritter.add({
				// (string | mandatory) the heading of the notification
				title: 'Se vende Terreno...',
				// (string | mandatory) the text inside the notification
				text: 'Jr. Ramirez Hurtado #456, comunicarse al Telf: 567438',
				// (string | optional) the image to display on the left
				image: 'images/index/terre2.jpg',
				// (bool | optional) if you want it to fade out on its own or just sit there
				sticky: true,
				// (int | optional) the time you want it to be alive for before fading out
				time: '',
				// (string | optional) the class name you want to apply to that specific message
				class_name: 'my-sticky-class'
			});
			$.gritter.add({
				// (string | mandatory) the heading of the notification
				title: 'Se vende Terreno...',
				// (string | mandatory) the text inside the notification
				text: 'Av. Circumvalación #234 comunicarse al Telf: 968786565',
				// (string | optional) the image to display on the left
				image: 'images/index/terre3.jpg',
				// (bool | optional) if you want it to fade out on its own or just sit there
				sticky: true,
				// (int | optional) the time you want it to be alive for before fading out
				time: '',
				// (string | optional) the class name you want to apply to that specific message
				class_name: 'my-sticky-class'
			});						
												
	});

